/**
 * 
 */
package de.tuhh.simsearch.dto;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.HashSet;
import java.util.Set;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author sim-search
 * 
 */
@XmlRootElement(name = "file")
public class FileDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5327384037928894121L;

	// private String path;

	private BigInteger id;

	private String displayedFilename;

	private String contentType;

	private String owner;

	private Set<String> categories = new HashSet<String>();
	
	private String description;

	protected FileDTO () {
		
	}
	
	public FileDTO(BigInteger id) {

		this.id = id;
	}

	/*
	 * public String getPath() {
	 * 
	 * return path; }
	 * 
	 * public void setPath(String path) {
	 * 
	 * this.path = path; }
	 */

	public String getDisplayedFilename() {

		return displayedFilename;
	}

	public BigInteger getId() {

		return id;
	}

	public void setId(BigInteger id) {

		this.id = id;
	}

	public void setDisplayedFilename(String filename) {

		this.displayedFilename = filename;
	}

	public String getContentType() {

		return contentType;
	}

	public void setContentType(String contentType) {

		this.contentType = contentType;
	}

	public String getOwner() {

		return owner;
	}

	public void setOwner(String owner) {

		this.owner = owner;
	}

	public Set<String> getCategories() {

		return categories;
	}

	public void setCategories(Set<String> categories) {

		this.categories = categories;
	}

  public String getDescription() {

    return description;
  }

  public void setDescription(String description) {

    this.description = description;
  }

}
